﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace MyBlog.DataEntity
{
   public partial class Tbl_Tag
    {
        public Tbl_Tag()
        {
            Tbl_Article = new HashSet<Tbl_Article>();
        }
        public int ID { set; get; }

        public string TagName { set; get; }

        public string AccountId { set; get; }

        [ForeignKey("AccountId")]
        public virtual Tbl_Account Tbl_Account { get; set; }

        public virtual ICollection<Tbl_Article> Tbl_Article { get; set; }
    }
}
